module.exports = {
    devServer: {
        port: 8000, // 端口
        proxy: {
            '/api': {
                // target: 'http://47.108.141.17/:8080', //对应自己的接口
                target: 'http://127.0.0.1/:8080', //测试接口地址
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                    '/api': ''
                }
            }
        },
        disableHostCheck: true
    },

    lintOnSave: false // 取消 eslint 验证
}
